package com.qst.mapper;

import com.qst.pojo.Equipment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassNmae: EquipmentMapper
 * @Author: 邓嘉顺
 * @Description:
 */
public interface EquipmentMapper {
    List<Equipment> queryAllEquipment(String equipmentName);

    int getAllCount();

    int addEquipment(Equipment equipment);

    void addEquipment02(String imgStr);

    int delBatch(Integer[] ids);

    Integer EditEquipment(@Param("id") Integer id, @Param("field") String field, @Param("value") String value);
}
